package com.example.demo.dao;

import com.example.demo.config.domain.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Date;
import java.util.List;

/**
 * Created by zhangting on 08/04/2021.
 */
public interface UserInfoDAO  extends JpaRepository<UserInfo, Integer>  {


    List<UserInfo> findByInSchool(Date inSchool);
    List<UserInfo> findByInSchoolBetween (Date s,Date e);

}
